package team.seekers.skill.entity.vo.fore.add;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "", description="用于新增评论")
@Validated
public class SkillCommentAddVO {

    @NotNull(message = "星级不能为空")
    private Integer star;

    @NotEmpty(message = "评论内容不能为空")
    private String content;

    @NotBlank(message = "技能id不能为空")
    private String skillId;

}
